package util;

/**
 * @Author: DengJia
 * @Date: 2022/1/26 10:35
 * @Description:
 */

public class Course {
    Integer id;
    String code;
    String cName;

    public Course() {
    }

    public Course(Integer id, String code, String cName) {
        this.id = id;
        this.code = code;
        this.cName = cName;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getcName() {
        return cName;
    }

    public void setcName(String cName) {
        this.cName = cName;
    }

    @Override
    public String toString() {
        return "Course{" +
                "id=" + id +
                ", code='" + code + '\'' +
                ", cName=" + cName +
                '}';
    }
}
